#include "command.h"
#include <stdlib.h>

int main()
{
 Receiver* pReceiver = new Receiver();
 Command* pCommand = new ConcreateComand(pReceiver);
 Invoker* pInvoker = new Invoker(pCommand);

 pInvoker->Invoke();

 delete pInvoker;

 system("pause");

 return 0;
}
